@layout("/common/_container.html"){
<block name="Style"> <!-- FooTable Plugin CSS -->
                <div style="margin-bottom: 10px;">
                </div>
    <div id="print">
                    <div style="width: 100%;">

                        <style>
                            .mtable {
                                width: 100%;
                                /*border-right:1px solid #888;/*border-bottom:1px solid #888*/
                            }

                            .mtable td {
                                text-align: left;
                                padding-left: 8px;
                                line-height: 40px;

                            }

                            .bold {
                                font-weight: bold;
                            }

                            .disable {
                                color: #999;
                            }
                        </style>

                        <table class="mtable">
                            <tr>
                                <td colspan="60" id="title"
                                    style="font-size: 20px; font-weight: bold; line-height: 40px; text-align: center;">
                                    <empty name="product.title">车辆派遣单</empty></td>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    出车时间: <input id="cometime" style="height: 100%;width: 75%;background-color:#F3F3F4;border:0;outline:none;"/>
                                </td>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    回车时间:<input id="gotime"  style="height: 100%;width: 75%;background-color:#F3F3F4;border:0;outline:none;"/>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;border-left: 1px solid #888; border-top: 1px solid #888">用车单位:
                                <input id="unit" style="height: 100%;width: 75%;background-color:#F3F3F4;border:0;outline:none;"/></td>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888">事由:
                                    <input id="reason" style="height: 100%;width: 75%;background-color:#F3F3F4;border:0;outline:none;"/></td>

                            </tr>
                            <tr>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;border-left: 1px solid #888; border-top: 1px solid #888">车号:
                                    <select id="number"  style="height: 100%;width: 80%;background-color:#F3F3F4;border:0;outline:none;"></select>
                                   <!-- <input id="number" style="height: 100%;width: 50%;background-color:#F3F3F4;border:0;outline:none;"/>-->
                                </td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; line-height: 40px;border-left: 1px solid #888; border-top: 1px solid #888">车况:</td>
                                 <td colspan="20" id="title_o"
                                     style="font-size: 16px; line-height: 40px; text-align: center; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888">驾驶人:
                                     <input id="jiashi" style="height: 100%;width: 50%;background-color:#F3F3F4;border:0;outline:none;"/></td>

                            </tr>
                            <tr>
                                <td colspan="60" id="title_o"
                                    style="font-size: 16px; line-height: 40px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888">行车路线:
                                    <input  id="road" style="height: 100%;width: 50%;background-color:#F3F3F4;border:0;outline:none;"/></td>

                            </tr>

                            <tr>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;border-left: 1px solid #888; border-top: 1px solid #888">用(带)车人:
                                    <input id="people" style="height: 100%;width: 50%;background-color:#F3F3F4;border:0;outline:none;"/>
                                </td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;border-left: 1px solid #888; border-top: 1px solid #888">联系电话:
                                    <input id="phone" style="height: 100%;width: 50%;background-color:#F3F3F4;border:0;outline:none;"/>
                                </td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888">批准人:
                                    <input id="approval" style="height: 100%;width: 50%;background-color:#F3F3F4;border:0;outline:none;"/>
                                </td>
                            </tr>

                            <tr>
                                <td colspan="60" class="bold"
                                    style="border-top: none; border-bottom: 1px solid #888; border-right: 1px solid #888;">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="15" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;border-left: 1px solid"></td>
                                <td colspan="15" id="title_o"
                                    style="font-size: 16px; line-height: 40px;  border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888">
                                    报道时间</td>
                                <td colspan="10" id="title_o"
                                    style="font-size: 16px; line-height: 40px;">用(带)车人</td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; line-height: 40px;border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888"></td>
                            </tr>
                            <tr>
                                <td colspan="15" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;border-left: 1px solid">运行情况</td>
                                <td colspan="15" id="title_o"
                                    style="font-size: 16px; line-height: 40px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888">
                                    用毕时间</td>
                                <td colspan="10" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;">签&nbsp;&nbsp;&nbsp;&nbsp;字</td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888"></td>
                            </tr>
                            <tr>
                                <td colspan="15" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;border-left: 1px solid"></td>
                                <td colspan="15" id="title_o"
                                    style="font-size: 16px; line-height: 40px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888">用毕地点</td>
                                <td colspan="10" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center;"></td>
                                <td colspan=20" id="title_o"
                                    style="font-size: 16px; line-height: 40px; text-align: center; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888"></td>
                            </tr>
                            <tr>
                                <td colspan="60" class="bold"
                                    style="border-top: none; border-bottom: 1px solid #888; border-right: 1px solid #888;">
                                </td>
                            </tr>
                        </table>
                        </div>

                    </div>
    <div class="row btn-group-m-t">
        <div class="col-sm-10">
            <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="CarInfoDlg.addSubmit()"/>
            <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="CarInfoDlg.close()"/>
        </div>
    </div>
        </div>
    </div>


</block>
<script src="${ctxPath}/static/modular/paiqian/car/jquery.PrintArea.js"></script>
<script>
    laydate.render({
        elem: '#cometime',
        type: 'datetime',
    });
    laydate.render({
        elem: '#gotime',
        type: 'datetime',
    });
</script>
<script>
    var objSelectNow=document.getElementById("number");

    $.ajax({
        type:'post',
        url:'/car/status',
        dataType:'json',
        success:function(data){
            for (var i=0;i<data.length;i++)
            {
                objSelectNow.options.add(new Option(data[i].plateNumber,data[i].plateNumber));
            }
        }
    });



</script>
<script src="${ctxPath}/static/modular/paiqian/car/car_info.js"></script>
@}
